package com.lyf.scm.common.enums;

/**
 * 商品排名类型
 *
 * @author 李兵兵
 * @date 2020/10/02
 */
public enum RandTypeEnum {
    SALE("sale","销售量"),

    AMOUNT("amount","销售额")
    ;

    private String code;

    private String desc;

    RandTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
